package com.clickpaas.workinghours.dao;

import com.bizcloud.ipaas.tbba4bf83484b4ed2aacba581fbfeac4d.  d20210220155135.model.TimeCardDTOPageInfoResponse;
import com.bizcloud.ipaas.tbba4bf83484b4ed2aacba581fbfeac4d.  d20210220155135.model.TimeCardDTOResponse;
import com.bizcloud.ipaas.tbba4bf83484b4ed2aacba581fbfeac4d.  d20210220155135.model.TimeCardSaveOrUpdateDataResponseObject;
import com.clickpaas.workinghours.entity.TimeCardEntity;

import java.util.List;

public interface TimeCardDao {

    /**
     * 根据条件查询工时填报数据
     */
    public List<TimeCardDTOResponse> queryDataInfo(TimeCardEntity entity);

    /**
     * 查询所有工时填报数据
     */
    public List<TimeCardDTOPageInfoResponse> queryDataInfo();

    /**
     * 工时填报数据入库
     */
    public TimeCardSaveOrUpdateDataResponseObject insertDataInfo(TimeCardEntity entity);

    /**
     * 工时填报数据更新
     */
    public TimeCardSaveOrUpdateDataResponseObject updateDataInfo(TimeCardEntity query,TimeCardEntity update);

    /**
     * 工时填报数据删除
     */
    public boolean deleteDataInfo(TimeCardEntity delete);
}